package cn.itcast.user.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import javax.annotation.security.DenyAll;

/**
 * 雒鑫
 */
@Component
@ConfigurationProperties(prefix = "pattern")//前缀拼接变量名和配置文件当中的属性一直即可自动注入
@Data
public class PatternProperties {
    private String dateformat;
    private String envSharedValue;

}
